import Http from '../../http';

export const getList = function(queryModel:any) {
    return Http.get('/DocReceived/Index',queryModel) 
}
export const getEdit = function(id:number) {
    return Http.get('/DocReceived/AddOrEdit',{id:id}) 
}
export const postAdd = function(from:any) {
    return Http.post('/DocReceived/Create',from) 
}
export const putEdit = function(from:any) {
    return Http.put('/DocReceived/Edit',from) 
}
export const delOne = function(id:number) {
    return Http.delete('/DocReceived/Delete',{id:id}) 
}
